package com.wecheir.entity;


import java.io.Serializable;
import java.util.Date;


/**
 * 消息警告
 */
public class Message implements Serializable {

    private static final long serialVersionUID = 1L;
    private String title;
    private String content;
    private String messageType;
    private String toUser;
    private String remarks;
    private Date createDate;

    private String createId;

    private String createName;

    private Date updateDate;

    private String updateId;
    private String looked;

    private Boolean delFlag;

    public String getLooked() {
        return looked;
    }

    public void setLooked(String looked) {
        this.looked = looked;
    }

    private User fromUser;

    public String getToUser() {
        return toUser;
    }

    public void setToUser(String toUser) {
        this.toUser = toUser;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public User getFromUser() {
        return fromUser;
    }

    public void setFromUser(User fromUser) {
        this.fromUser = fromUser;
    }



    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }

    public Boolean getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Boolean delFlag) {
        this.delFlag = delFlag;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return "Message{" +
                "title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", messageType='" + messageType + '\'' +
                ", toUser='" + toUser + '\'' +
                ", remarks='" + remarks + '\'' +
                ", createDate=" + createDate +
                ", createId='" + createId + '\'' +
                ", createName='" + createName + '\'' +
                ", updateDate=" + updateDate +
                ", updateId='" + updateId + '\'' +
                ", looked='" + looked + '\'' +
                ", delFlag=" + delFlag +
                ", fromUser=" + fromUser +
                '}';
    }
}
